<!--
 * @Description: javascript 测试
 * @Author: admin
 * @Date: 2021-06-03 20:25:00
 * @LastEditors: admin
 * @LastEditTime: 2021-06-03 20:47:42
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>hello,world</title>
  <!-- 在html中直接写js代码 -->
  <script>
    var str = "hello,world"
    console.log(str);
  </script>
  <!-- 引入外部js代码文件 -->
  <script src="./hello.js"></script>
</head>

<body>

</body>

</html>